import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueJsonp from 'vue-jsonp'
Vue.use(VueJsonp)
// Vue.config.debug = true;
// axios.defaults.withCredentials=true;
// import { Alert } from 'vux'
// Vue.component('alert', Alert)

// 引入weui框架
import weui from 'weui.js'
import 'weui'
Vue.prototype.$weui = weui
// 引入muse-ui框架
import Toast from 'muse-ui-toast';
Vue.use(Toast);
import 'muse-ui-message/dist/muse-ui-message.css';
import Message from 'muse-ui-message';
Vue.use(Message);
import MuseUI from 'muse-ui';
import 'muse-ui/dist/muse-ui.css';
Vue.use(MuseUI);
Vue.config.productionTip = false
Vue.prototype.$axios = axios

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
